package subnarines;
import javax.swing.*;

public class MineSubmarine extends SeaObject implements EnemyLife{

    public MineSubmarine(){
        super(63,19);
    }

    @Override
    public void move() {
        x += speed;
    }

    public Mine shootMine(){
        return new Mine(this.x,this.y);
    }

    public ImageIcon getImage(){return Images.minesubm;}

    public int getLife(){
        return 1;
    }
}
